import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { EncapsulationComponent } from './encapsulation.component';
import {SortinglistComponent} from './components/sortinglist/sortinglist.component';

const routes: Routes = [{ path: '', component: EncapsulationComponent },
  {path:'sorting',component:SortinglistComponent}];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class EncapsulationRoutingModule { }
